package com.itlong.cloud.operate.dao;

import com.itlong.cloud.POJO.PO.OperateUserInfoPO;
import com.itlong.cloud.POJO.PO.OperationSpecialLogPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <desc>
 * @Description:
 * </desc>
 * 
 * @author: chengshican
 *  @Date: 2020-11-10 11:36
 *  
 */

@Mapper
@Repository
public interface OperationSpecialLogDao {
    
    
    
    /**
    *<desc>
    *  保存操作日志
    *</desc>
    *
    * @Author  chengshican
    * @Date   2020-11-10 11:36
    * @Param  
    * @Return      
    * @Exception   
    * 
    */
    Integer save(Map<String, Object> map);


   
   /**
   *<desc>
   *   获取运营该用户信息
   *</desc>
   *
   * @Author  chengshican
   * @Date   2020-11-10 13:38
   * @Param  
   * @Return      
   * @Exception   
   * 
   */
    OperateUserInfoPO getOperateUserPO(@Param("userId") String userId);

    
    /**
    *<desc>
    * 分页查询操作日志
    *</desc>
    *
    * @Author  chengshican
    * @Date   2020-11-10 17:30
    * @Param  
    * @Return      
    * @Exception   
    * 
    */
   List<OperationSpecialLogPO> getOperationSpecialLog(Map<String, Object> params);


   
   /**
   *<desc>
   * 获取特殊操作日志详情
   *</desc>
   *
   * @Author  chengshican
   * @Date   2020-11-11 9:30
   * @Param  LogId 逻辑ID
   * @Return
   * @Exception   
   * 
   */
   OperationSpecialLogPO getOperationSpecialLogByLogId(@Param("LogId") String LogId);
   
   /**
   *<desc>
   * @Description
   *</desc>
   *
   * @Author  chengshican
   * @Date   2020-11-10 17:42
   * @Param  
   * @Return      
   * @Exception   
   * 
   */
    Integer  getOperationSpecialLogCount (Map<String, Object> params);
}
